package cn.iocoder.yudao.module.jikong.controller.admin.backup.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 数据库备份 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BackupRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "14694")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "sql文件名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("sql文件名称")
    private String sqlName;

    @Schema(description = "文件路径")
    @ExcelProperty("文件路径")
    private String filePath;

    @Schema(description = "状态: 0 生成中，1生成成功，2生成失败", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态: 0 生成中，1生成成功，2生成失败")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}